package com.lenovo.lmrp.server.assigntracer.mock;

import java.util.List;
import java.util.stream.Stream;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

import com.lenovo.lmrp.api.assigntrace.ITraceWorkflow;
import com.lenovo.lmrp.api.model.RestResponse;
import com.lenovo.lmrp.api.model.entity.ActivityFormPO;
import com.lenovo.lmrp.api.model.view.TicketProcessVO;
import com.lenovo.lmrp.api.model.view.WorkFlowSelector;
import com.lenovo.lmrp.api.model.view.WorkFlowVO;
import com.lenovo.sdc.framework.annotation.RestService;

@RestService
@Path("/assigntrace/v1")
@Produces("application/json;charset-utf-8")
@Consumes("application/json;charset-utf-8")
public class TraceWorkflowImpl implements ITraceWorkflow{

    @Override
    public RestResponse<WorkFlowVO> getWorkFlow(String itsmcode) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public RestResponse<WorkFlowVO> importWorkFlow(String itsmcode, String bpmnfile) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void enableOrDisableWorkFlow(String itsmcode, String processid, int status) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public RestResponse<TicketProcessVO> getTicketProcessVO(String itsmcode, String ticketid) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void createWorkFlowSelector(String itsmcode, String name, String conditions, String processid) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public RestResponse<List<WorkFlowSelector>> getWorkFlowSeletor(String itsmcode) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void deleteWorkFlowSelector(String itsmcode, String selectorid) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public void updateWorkFlowSelector(String itsmcode, String selectorid, WorkFlowSelector workFlowSelector) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public RestResponse<ActivityFormPO> getWorkFlowActivity(String itsmcode, String activityid) {
        ActivityFormPO a=new ActivityFormPO();
        a.setActionForm("process/subPage/common/appointment.html");
        return new RestResponse<ActivityFormPO>(0,"OK",a);
    }
      
}
